package com.itheima.sh.g_polymorphic;

public class Teacher extends People{
    String name="老师";
    @Override
    public void run() {
        System.out.println("老师跑的慢一些----");
    }

    public void teach(){
        System.out.println("老师教Java");
    }
}
